package com.heima.schedule;

import com.heima.common.redis.CacheService;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;

/**
 * ClassName: test
 * Description:
 * date: 2023/8/15 0015 17:35
 *
 * @author zHan
 */
@SpringBootTest(classes = ScheduleApplication.class)
public class test {

    @Autowired
    private CacheService cacheService;

    @Test
    void testList() {

        cacheService.lLeftPush("list01","hello redis");

        cacheService.delete("list01");
    }

    @Test
    void testZSet() {

    }
}
